package com.example.cloudcashierpos.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

@Entity
public class corecmsfoodorderpayment {
    // 序列
    @Id
    private long id;

    // 订单号
    private Long orderId;

    // 支付Id
    private Integer paymentId;

    // 支付编码
    private String paymentCode;

    // 返回值
    private String responseCode;

    // 支付金额
    private double payAmount;

    // 给付金额
    private double takeAmount;

    @Generated(hash = 1698177419)
    public corecmsfoodorderpayment(long id, Long orderId, Integer paymentId,
            String paymentCode, String responseCode, double payAmount,
            double takeAmount) {
        this.id = id;
        this.orderId = orderId;
        this.paymentId = paymentId;
        this.paymentCode = paymentCode;
        this.responseCode = responseCode;
        this.payAmount = payAmount;
        this.takeAmount = takeAmount;
    }

    @Generated(hash = 1827502389)
    public corecmsfoodorderpayment() {
    }

    public long getId() {
        return this.id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public Long getOrderId() {
        return this.orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Integer getPaymentId() {
        return this.paymentId;
    }

    public void setPaymentId(Integer paymentId) {
        this.paymentId = paymentId;
    }

    public String getPaymentCode() {
        return this.paymentCode;
    }

    public void setPaymentCode(String paymentCode) {
        this.paymentCode = paymentCode;
    }

    public String getResponseCode() {
        return this.responseCode;
    }

    public void setResponseCode(String responseCode) {
        this.responseCode = responseCode;
    }

    public double getPayAmount() {
        return this.payAmount;
    }

    public void setPayAmount(double payAmount) {
        this.payAmount = payAmount;
    }

    public double getTakeAmount() {
        return this.takeAmount;
    }

    public void setTakeAmount(double takeAmount) {
        this.takeAmount = takeAmount;
    }
}
